
package Paczka2; 

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;


public class JakasKlasa {


	private int asdy;
	private Data d;
  

    //funkcja usuwajaca z kodu wczytanej funkcji białe znaki
    
	
	private int dupa;
	
    public String GetFunctionName(String expression) {
        int i = expression.length() - 1;
        String tmp = "", tmp1 = "";

        while ((expression.charAt(i) != '.') && (i >= 0)) {
            tmp = tmp + expression.charAt(i);
            i--;
        }

        for (i = tmp.length() - 1; i >= 0; i--) {
            tmp1 = tmp1 + tmp.charAt(i);
        }

        return tmp1;
    }
	
	public boolean IsNewLineChar(char ch) {
        if ((ch == '{') || (ch == '}') || (ch == ';')) {
            return true;
        } else {
            return false;
        }
    }

   

}



